//package zz.demo.springCloud.config.securityService;
//
//import org.springframework.beans.BeansException;
//import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
//import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
//import org.springframework.beans.factory.support.DefaultListableBeanFactory;
//
///**
// * Created by zhangzheng on 2017-8-2.
// */
//public class CustomBeanFactoryPostProcessor implements BeanFactoryPostProcessor {
//    private static final String SERIALIZATION_ID = "4086d293-522c-4d25-8485-f1c1f5c09218";
//
//    @Override
//    public void postProcessBeanFactory(ConfigurableListableBeanFactory configurableListableBeanFactory) throws BeansException {
//        if( configurableListableBeanFactory instanceof DefaultListableBeanFactory){
//            DefaultListableBeanFactory factory = (DefaultListableBeanFactory) configurableListableBeanFactory ;
//            factory.setSerializationId(SERIALIZATION_ID);
//        }
//    }
//}
